﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using Core.BusinessLogic.Interfaces;
using Core.DataAccess.IRepositories;
using Core.Common;
using Core.DataAccess;

namespace Core.BusinessLogic
{
    [Export(typeof(IFileImgCoverService))]
    public class FileImgCoverService : IFileImgCoverService
    {
        [Import]
        private IFileImgCoverRepository _fileImgCoverRepository;

        public FileImgCoverService()
        {
            MEFManager.Compose(this);
        }

        public FileImgCover GetFileImgCoverByAccountID(int accountID)
        {
            return _fileImgCoverRepository.GetFileImgCoverByAccountID(accountID);
        }
    }
}
